# coding: UTF-8
class Admin::EnginesController < RBPM::BaseController

  after_action :task_commit, only: [:usertask1_post]

  def deal_with

  end

  # GET /admin/engines
  def usertask1
  end

  def usertask1_post
    @process_variables={time: Time.now, current_user: current_user.id}

    p "usertask1_post: #{@process_variables}"
    redirect_to admin_process_tasks_path
  end

  # GET /admin/engines/1
  def usertask2

  end


  # GET /admin/engines/new
  def usertask3
    @engine = Engine.new
  end

  # GET /admin/engines/1/edit
  def usertask4
  end

  def usertask5
  end
end